import axios from 'axios';

/**
 * 业务统计
 * @returns
 */
export function queryBusiness() {
    return axios.post('/api/v1/analysis/business');
}
/**
 * 业务统计
 * @returns
 */
export function queryMember() {
    return axios.post('/api/v1/analysis/member');
}
/**
 * 燃料当前价格:
 * @returns
 */
export function queryCurrentFuelPrice() {
    return axios.post('/api/v1/analysis/fuelPrice/current');
}

/**
 * 加注枪
 * @returns
 */
export function queryCurrentFuelGun() {
    return axios.post('/api/v1/analysis/fuelGun');
}

/**
 * 燃料消费统计
 * @returns
 */
export function queryCurrentFuelConsume() {
    return axios.post('/api/v1/analysis/fuelConsume');
}
/**
 * 加注记录
 * @returns
 */
export function queryRecentConsume() {
    return axios.post('/api/v1/screen/recentConsumeData');
}

export function querySaleTrend() {
    return axios.post('/api/v1/screen/saleTreed');
}

/**
 * 车队储值排行:
 * @returns
 */
export function queryFleetTop10() {
    return axios.post('/api/v1/analysis/fleet/top10');
}
/**
 * 支付渠道占比:
 * @returns
 */
export function queryPayType() {
    return axios.post('/api/v1/analysis/payType');
}
